contains

operator fun contains(segment: String): Boolean

See if this path contains a segment. Will return false if Path.seperator is in segment.

Sources

js source
Link copied to clipboard